package com.cfr.restlet.beans;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Deployment")
public class DeploymentBean {
	private String deploymentId;
	private String name;
	private String state;
	private long timestamp;

	public String getDeploymentId() {
		return deploymentId;
	}

	@XmlElement
	public void setDeploymentId(String deploymentId) {
		this.deploymentId = deploymentId;
	}

	public String getName() {
		return name;
	}

	@XmlElement(required = true)
	public void setName(String name) {
		this.name = name;
	}

	public String getState() {
		return state;
	}

	@XmlElement
	public void setState(String state) {
		this.state = state;
	}

	public long getTimestamp() {
		return timestamp;
	}

	@XmlElement
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

}
